package by.vkhalko.asamo.services;

import org.springframework.transaction.annotation.Transactional;

import by.vkhalko.asamo.datamodel.Employee;

public interface EmployeeService {
	Employee get(Long id);

	@Transactional
	void saveOrUpdate(Employee employee);

	@Transactional
	void delete(Employee employee);

	@Transactional
	void deleteAll();

}
